package com.zzj.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 * 快速问诊
 * </p>
 *
 * @author zzj
 * @since 2023-05-13
 */
@TableName("picc_inquiry")
public class Inquiry implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 问诊用户名
     */
    private String username;

    /**
     * 问诊人头像
     */
    private String avatar;

    /**
     * 问诊姓名
     */
    private String name;

    /**
     * 问诊内容
     */
    private String content;

    /**
     * 图片地址
     */
    private String images;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    /**
     * 更新时间
     */
       @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Inquiry{" +
        "id = " + id +
        ", username = " + username +
        ", avatar = " + avatar +
        ", name = " + name +
        ", content = " + content +
        ", images = " + images +
        ", createTime = " + createTime +
        ", updateTime = " + updateTime +
        "}";
    }
}
